package com.huage_04.lesson01;

public class Father {
    public String name;
    public int age = 40;

    public Father(){
        System.out.println("调用了Father类无参构造方法");
    }
    public Father(int age){
        this.age = age;
        System.out.println("调用了Father类有参构造方法");
    }
}
